package com.ruoyi.project.jxy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

/**
 * 语料,保存有每个技能对应的语料.对象 tb_corpus
 *
 * @author ruoyi
 * @date 2019-12-06
 */

public class Corpus {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */

    private Long id;

    /**
     * 语料类型
     */
    @Excel(name = "语料类型")
    private String type;

    /**
     * 语料内容
     */
    @Excel(name = "语料内容")
    private String content;

    /**
     * 槽位  以 | 线隔开
     */
    @Excel(name = "槽位  以 | 线隔开")
    private String solts;

    /**
     * 意图id
     */
    @Excel(name = "意图id")
    private Long intentionId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createUser;

    /**
     * 更新时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    /**
     * 更新人
     */
    @Excel(name = "更新人")
    private String updateUser;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setSolts(String solts) {
        this.solts = solts;
    }

    public String getSolts() {
        return solts;
    }

    public void setIntentionId(Long intentionId) {
        this.intentionId = intentionId;
    }

    public Long getIntentionId() {
        return intentionId;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("type", getType())
                .append("content", getContent())
                .append("solts", getSolts())
                .append("intentionId", getIntentionId())
                .append("createTime", getCreateTime())
                .append("createUser", getCreateUser())
                .append("updateTime", getUpdateTime())
                .append("updateUser", getUpdateUser())
                .toString();
    }
}
